<template>
	<view class="achievement-item">
		<view class="content">
			<image class="img" src="https://placehold.jp/999999/ff4400/242x178.png?text=EXAMPLE" mode="aspectFit" />
			<view class="info">
				<view class="tit">项目名称</view>
				<view class="desc">识设样合周动以际亲九中证问式十起先老关就小例属报出平造便部得克斯太角保便门程导书但派你政证们地别交水。</view>
				<view class="time">2024-06-14 18:40:33</view>
			</view>
		</view>
		<view class="comment">
			<text class="iconfont">☑</text>
			<text class="txt">客户评价：说代我认表商计位民广被真风断进应强备强件连原温口全低众史力证去四安性结期律重例教局级需战深值变地表动。</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default() {
					return null;
				}
			}
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.achievement-item {
	width: 100%;
	padding: 25rpx 22rpx;
	box-sizing: border-box;
	margin-bottom: 24rpx;
	border-radius: 12rpx;
	overflow: hidden;
	background-color: #ffffff;
	.content {
		display: flex;
		margin-bottom: 20rpx;
		overflow: hidden;
		.img {
			width: 242rpx;
			height: 178rpx;
			flex-shrink: 0;
			margin-right: 20rpx;
		}

		.info {
			flex-grow: 1;
			overflow: hidden;

			.tit {
				color: #111111;
				font-size: 32rpx;
				font-style: normal;
				font-weight: 500;
				line-height: normal;
				margin-bottom: 12rpx;
			}

			.desc {
				width: 424rpx;
				color: #333333;
				font-size: 26rpx;
				font-style: normal;
				font-weight: 400;
				line-height: normal;
				margin-bottom: 12rpx;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
				text-overflow: ellipsis;
			}

			.time {
				color: #666666;
				font-size: 26rpx;
				font-style: normal;
				font-weight: 400;
				line-height: normal;
			}
		}
	}

	.comment {
		display: flex;
		align-items: center;
		height: 65rpx;
		padding: 0 20rpx;
		box-sizing: border-box;
		flex-shrink: 0;
		border-radius: 6rpx;
		background: rgba(#287EFF, 0.11);

		// .icon {
		// 	width: 32rpx;
		// 	height: 32rpx;
		// 	flex-shrink: 0;
		// 	margin-right: 6rpx;
		// }
		.iconfont{
			font-size: 32rpx;
			margin-right: 10rpx;
			color: #287EFF;
		}

		.txt {
			flex: 1 0 0;
			font-size: 26rpx;
			line-height: 44rpx;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			color: #287EFF;
		}
	}
}
</style>
